

#pragma once

#include "zDbFormattedTableData.h"

class UcDbTableContent : public UcDbFormattedTableData
{
public:
    UCDB_DECLARE_MEMBERS(UcDbTableContent);

    UCDB_PORT UcDbTableContent(void);
    UCDB_PORT virtual ~UcDbTableContent(void);

    UCDB_PORT virtual UcDbObjectId tableStyleId(void) const;
    UCDB_PORT virtual Ucad::ErrorStatus setTableStyleId(const UcDbObjectId& idTableStyle);
    UCDB_PORT virtual const ZTCHAR* cellStyle(int nRow, 
                                             int nCol) const;
    UCDB_PORT virtual Ucad::ErrorStatus setCellStyle(int nRow, 
                                             int nCol, 
                                             const ZTCHAR* pszCellStyle);
    UCDB_PORT virtual double rowHeight      (int nRow) const;
    UCDB_PORT virtual Ucad::ErrorStatus setRowHeight(int nRow, 
                                             double fWidth);
    UCDB_PORT virtual double columnWidth    (int nCol) const;
    UCDB_PORT virtual Ucad::ErrorStatus setColumnWidth(int nCol, 
                                             double fWidth);

    UCDB_PORT virtual Ucad::ErrorStatus dwgInFields(UcDbDwgFiler* pFiler);
    UCDB_PORT virtual Ucad::ErrorStatus dwgOutFields(UcDbDwgFiler* pFiler) const;
    UCDB_PORT virtual Ucad::ErrorStatus dxfInFields(UcDbDxfFiler* pFiler);
    UCDB_PORT virtual Ucad::ErrorStatus dxfOutFields(UcDbDxfFiler* pFiler) const;
};
